package org.project.choujiang.mapper;

import org.project.choujiang.pojo.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;
import java.util.Set;

/**
 * @Entity org.project.postgraduate_back.postgraduate.pojo.domain.User
 */
public interface UserRepository extends MongoRepository<User,String> {
    User findByUsername(String username);

    List<User> findByIdIsIn(Set<String> ids);
}




